home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.misc
- Path: cix.compulink.co.uk!usenet
- From: jralph@cix.compulink.co.uk ("Jolyon Ralph")
- Subject: Re: There is *NO* Amiga....STOP IT NOW
- Message-ID: <Dp0y3u.F0J@cix.compulink.co.uk>
- Organization: Compulink Information eXchange
- References: <4jd6um$o1g@mailhub.scitec.com.au>
- Date: Fri, 29 Mar 1996 10:21:30 GMT
- X-News-Software: Ameol32
-
- > The Amiga programming documentation has always said that "pulic" memory
- > should
- > be allocated to hold messages. The reasoning behind this is that
- > "public"
- > memory would to in an area that was shared between all tasks, hence no
- > copying would be needed to pass messages. Thus memory protection would
- > have no
- > performance impact on message passing. It will have an impact on task
- > switching
- > because there is more to save and restore to switch tasks.
-
- But as soon as you do this, the memory protection in the OS is 'nearly
- bombproof' rather than totally bombproof.
-
- I agree it may be the best solution, but it won't be 100% memory
- protection, rogue tasks could still crash and wipe out public memory.
-
- Also, it's unfortunate that a significant number of amiga programs
- allocate MEMF_PUBLIC when they really want MEMF_ANY.
-
- Jolyon
-